package com.zbkj.crmeb.enums.task;

public enum TaskTypeEnums {
    INIT("INIT","初始状态"),
    RUNNING("RUNNING","执行中"),
    EXCEPTION("EXCEPTION","执行异常"),
    BROKEN("BROKEN","销毁中断"),
    TERMINATE("TERMINATE","执行完成")
    ;

    private String code;

    private String desc;

    TaskTypeEnums(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public String getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
